/*
 * @Author: 华芊芊 huaqianqian@yeah.net
 * @Date: 2023-10-26 22:48:19
 * @LastEditors: 华芊芊 huaqianqian@yeah.net
 * @LastEditTime: 2023-11-26 20:00:41
 * @FilePath: \zmglpt-ui-screen\src\api\qjzl.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */

import request from '@/utils/request'
let paramsTemp = {
  // ...JSON.parse(localStorage.getItem('PICKTIME')),
  columnName: "prov_org_uuid",
  orgUuid: "00000000000000000000000011340001",
}
// 打假打私
export const getHomeCaseSchema = (params = {}) =>
  request({
    url: '/home_case_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 行政许可
export const getHomeHoldLicenseNum = (params = {}) =>
  request({
    url: '/home_lic_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//地方局零售户净增量
export const getHomeLicPlace = (params = {}) =>
  request({
    url: '/home_lic_place_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })

//地方局零售户净增量--下钻
export const getHomeListJuniorData = (params = {}) =>
  request({
    url: '/home_lic_area_ah_v1/',
    method: 'get',
    params: { ...params },
    custom: { catch: true },
  })
//超期 许可 投诉 办理
export const getHomeTimeOut = (params = {}) =>
  request({
    url: '/home_time_out_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//5+5
export const getHomeFiveFive = (params = {}) =>
  request({
    url: '/home_five_five_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//市场监管
export const getHomeScjgSchema = (params = {}) =>
  request({
    url: '/home_scjg_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//电子烟
export const getHomeEleCaseSchema = (params = {}) =>
  request({
    url: '/home_ele_case_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
export const getHomeEleLicSchema = (params = {}) =>
  request({
    url: '/home_ele_lic_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
//全国平均时长
export const getHomeQgTime = (params = {}) =>
  request({
    url: '/home_qg_time_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
export const getHomeEleSaleSchema = (params = {}) =>
  request({
    url: '/home_ele_sale_schema_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 内部监管
export const getHomeInnerData = (params = {}) =>
  request({
    url: '/home_inner_rank_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })
// 假私烟人均查获量
export const getAvgFakePersonNum = (params = {}) =>
  request({
    url: '/home_avg_fake_person_num_ah_v1/',
    method: 'get',
    params: { ...paramsTemp, ...params },
    custom: { catch: true },
  })